import request from '@/utils/request';

// 获取帖子管理详细信息
export function getUserInfoByUserId(userId : number) {
	return request({
		url: `/system/user/${userId}`,
		method: 'GET'
	});
}

// 根据用户昵称查询用户
export const getUserByNickName = (nickName : string) => {
	return request({
		url: `/system/user/search/${nickName}`,
		method: 'GET'
	});
}